* {margin: 0;padding: 0;}
body{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  .header {
    height: 60px;
    line-height: 60px;
    overflow: hidden;
    padding-left: 10px;
    font-size: 1.5em;
    .back {
      display: inline-block;
      margin: 0 10px 0 0;
      font-size: 20px;
    }
  }
  .main {
    height: calc(100vh - 100px);
    overflow-y: scroll;
    position: relative;
    min-width: 500px;
    .floor-title {
      font-size: 1.5em;
      margin: 10px 0 10px 10px;
    }
    .wrapper {
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      align-content: flex-start;
      justify-content: flex-start;
      nav {
        flex: 0 0 30%;
        height: 10vh;
        text-align: center;
        margin-left: 2%;
        margin-top: 1vh;
        border-radius: 20px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background: #0e1538;
        a {
          z-index: 5;
          color: white;
          outline: none;
          text-decoration: none;
        }
        &::before {
          width: 120%;
          height: calc(10vh - 20px);
          content: '';
          position: absolute;
          background: linear-gradient(#00ccff, #d500f9);
          animation: navRotate 4s linear infinite;
          z-index: 0;
        }
        &::after {
          content: '';
          position: absolute;
          background: #0e1538;
          inset: 3px;
          border-radius: 20px;
          z-index: 1;
        }
        @keyframes navRotate {
          from {
            transform: rotate(0deg);
          }
          to {
            transform: rotate(360deg);
          }
        }
        &:nth-child(odd)::before {
          animation: navRotate 4.5s linear infinite;
        }
      }
    }
  }
  .footer {
    font-size: 1.5em;
    overflow: hidden;
    height: 40px;
    text-align: center;
    line-height: 40px;
  }
}

.buttonGroup {
  position: fixed;
  left: 50%;
  bottom: 60px;
  min-height: 50px;
  line-height: 50px;
  background: #ffffff73;
  text-align: center;
  border-radius: 15px;
  padding: 0 20px 0 20px;
  translate: -50% ;
  max-width: 90%;
  button {
    display: inline-block;
    height: 30px;
    padding: 0 10px 0 10px;
    background: #7c1823;
    border-style: none;
    color: white;
    border-radius: 15px;
    margin-right: 8px;
    overflow: hidden;
    &:active {
      color: gold;
    }
  }
}